

Pod::Spec.new do |s|


  s.name         = "TestDemo2" #specc文件的名称
  s.version      = "1.0.0" #对应的版本
  s.summary      = "简短介绍 TestDemo2." #简短介绍
  s.description  = <<-DESC 
  测试用例，这里是详细介绍，可以不写，但是
                   DESC

  s.homepage     = "https://git.oschina.net/ZOKAI/TestDemo2.git" #注意
  # s.screenshots  = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"

  s.license      = "MIT" #开源协议
  # s.license      = { :type => "MIT", :file => "FILE_LICENSE" }

  s.author             = { "ZOKAI" => "1558390418@qq.com" } #作者，邮箱
  # Or just: s.author    = "ZOKAI"
  # s.authors            = { "ZOKAI" => "1558390418@qq.com" }
  # s.social_media_url   = "http://twitter.com/ZOKAI"

  # s.platform     = :ios
  s.platform     = :ios, "8.0" #平台，版本

  #  When using multiple platforms
  # s.ios.deployment_target = "5.0"
  # s.osx.deployment_target = "10.7"
  # s.watchos.deployment_target = "2.0"
  # s.tvos.deployment_target = "9.0"

  s.source       = { :git => "https://git.oschina.net/ZOKAI/TestDemo2.git", :tag => "#{s.version}" }#对应的资源文件的地址，注意后边的tag ，其实就是他的版本，pods是以git为基础管理的。

  s.source_files  = "TestDemo2/TestDemo2/Class/**/*.{h,m}" #编译源文件
  s.exclude_files = "Classes/Exclude" #排除文件

  s.requires_arc = true #是否是arc模式 
  s.frameworks = "UIKit", "Foundation"

  s.dependency "SVProgressHUD", "~> 2.1.2"
  s.module_name = 'TestDemo2'


  # s.public_header_files = "Classes/**/*.h" #公开的头文件

  # s.resource  = "icon.png"
  # s.resources = "Resources/*.png"

  # s.preserve_paths = "FilesToSave", "MoreFilesToSave"

  # s.framework  = "SomeFramework"

  # s.library   = "iconv"
  # s.libraries = "iconv", "xml2"


  # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }

end
